package cn.qingyun.gis.modules.express.request;

import cn.qingyun.gis.common.Pager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("附近渠道请求对象")
public class NearbyChannelRequest extends Pager {

    @NotNull(message = "实时经度不能为空")
    @ApiModelProperty("实时经度")
    private BigDecimal lon;

    @NotNull(message = "实时纬度不能为空")
    @ApiModelProperty("实时纬度")
    private BigDecimal lat;

    @ApiModelProperty("数据校对状态(0:未校对/1:已校对)")
    private Integer status;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @NotEmpty(message = "网格编码不能为空")
    @ApiModelProperty(value = "网格编码")
    private String gridId;

    @ApiModelProperty(value = "勘误工号")
    private String kwPhone;

    @NotEmpty(message = "区域权限不能为空")
    @ApiModelProperty(value = "区域权限")
    private String gridType;

}
